home *** CD-ROM | disk | FTP | other *** search
/ Collection of Internet / Collection of Internet.iso / protocol / mstd_174.doc < prev    next >
Text File  |  1991-07-10  |  73KB  |  1,822 lines

  1. [  PROTOCOLS:MSTD-1781-TESTS.DOC ]                 [ 4/88 ]
  2.  
  3.  
  4. 12 March 1987                  -1-                 Unisys Corporation
  5.                                                     TM-WD-8801/610/01
  6.  
  7.  
  8.                    DCA PROTOCOL LABORATORY
  9.             SIMPLE MAIL TRANSFER PROTOCOL (SMTP)
  10.                         MIL-STD-1781
  11.                     TRACEABILITY MATRIX
  12.  
  13.  
  14. This Traceability Matrix provides information on the derivation,
  15. organization, and function of tests specified for Simple Mail
  16. Transfer Protocol (SMTP) within the Defense Communications Agency
  17. (DCA) Protocol Laboratory.
  18.  
  19. This document is divided into five sections:
  20.  
  21.       SMTP TRACEABILITY INDEX;
  22.       SMTP TESTS INDEX;
  23.       SMTP TEST SCENARIOS INDEX;
  24.       SMTP SCENARIO AND TEST DESCRIPTIONS.
  25.  
  26.  
  27. SMTP TRACEABILITY INDEX:  MIL-STD-1781 References vs. SMTP TEST
  28. NUMBERS
  29.  
  30. This table cross-references applicable sections in MIL-STD-1781
  31. with the SMTP Test Number regarding each required command,
  32. option, or procedure.
  33.  
  34.  
  35. SMTP TESTS INDEX:  SMTP TEST NUMBERS vs. SMTP
  36. COMMANDS/OPTIONS/PROCEDURES
  37.  
  38. This table shows the SMTP Test Numbers that may be regarded as
  39. the principle tests of each SMTP command, option, or procedure.
  40.  
  41.  
  42. SMTP TEST SCENARIOS INDEX:  SMTP TEST SCENARIO FILES vs. SMTP
  43. TEST NUMBERS
  44.  
  45. For SMTP, there is almost a one-to-one correspondence between
  46. SMTP Test Numbers and SMTP Scenarios.  Therefore, the
  47. relationship between scenarios and tests is not described in
  48. detail.  The table shows, for each SMTP Test Number, the UNIX
  49. filename of the SMTP Test Scenario files in which it is a test.
  50.  
  51.  
  52. SMTP SCENARIO AND TEST DESCRIPTIONS
  53.  
  54. This section provides a description of each SMTP test objective
  55. and an operational description of each test's verification
  56. procedure.
  57.  
  58. 12 March 1987                  -2-                 Unisys Corporation
  59.                                                     TM-WD-8801/610/01
  60.  
  61. SMTP TRACEABILITY INDEX:  MIL-STD-1781 References vs. SMTP TEST
  62. NUMBERS
  63.  
  64. The following table cross-references applicable sections in MIL
  65. STD-1781 with the SMTP Test Number regarding each required
  66. command, option, or procedure.
  67.  
  68. The SMTP Specifications
  69.  
  70. 6.1.1.1       HELO command                      3, 22
  71. 6.1.1.2       MAIL command                      1, 2
  72. 6.1.1.3       RCPT command                      4, 47, 31, 32
  73. 6.1.1.4       DATA command                      all
  74. 6.1.1.4.1       Response and further action     all
  75. 6.1.1.5       SEND command                      5, 6, 11
  76. 6.1.1.6       SOML command                      7, 8
  77. 6.1.1.7       SAML command                      9, 10
  78. 6.1.1.8       RSET command                      12, 13, 14, 15
  79. 6.1.1.9       VRFY command                      16, 17
  80. 6.1.1.10      EXPN command                      18, 19
  81. 6.1.1.11      HELP command                      20, 21
  82. 6.1.1.12      NOOP command                      23, 24
  83. 6.1.1.13      QUIT command                      all
  84. 6.1.1.14      TURN command                      25
  85. 6.1.2         Restrictions on command order     26, all
  86. 6.1.3         Command syntax                    27, 28,29, all
  87. 6.1.3.2       SMTP syntax                       see the following
  88. 6.1.3.2.1     Numeric hostnames                 30
  89. 6.1.3.3       Timestamp and return path lines   35, 38
  90. 6.2           SMTP replies                      see the following
  91. 6.2.1         Reply codes by function groups    see 6.2.2
  92. 6.2.2         Numeric order list of reply codes see the following
  93. 6.2.2.a       Reply code 211                    20, 21
  94. 6.2.2.b       Reply code 214                    20, 21
  95. 6.2.2.c       Reply code 220                    all
  96. 6.2.2.d       Reply code 221                    all
  97. 6.2.2.e       Reply code 250                    all
  98. 6.2.2.f       Reply code 251                    all
  99. 6.2.2.g       Reply code 354                    all
  100. 6.2.2.h       Reply code 421                    all
  101. 6.2.2.i       Reply code 450                    all
  102. 6.2.2.j       Reply code 451                    all
  103. 6.2.2.k       Reply code 452                    all
  104. 6.2.2.1       Reply code 500                    all
  105. 6.2.2.m       Reply code 501                    all
  106. 6.2.2.n       Reply code 502                    1, 14, 15, 16, 17, 18
  107.                                                 19, 20, 21, 25
  108. 6.2.2.o       Reply code 503                    all
  109. 12 March 1987                  -3-                 Unisys Corporation
  110.                                                     TM-WD-8801/610/01
  111. 6.2.2.p       Reply code 504                    all
  112. 6.2.2.q       Reply code 550                    all
  113. 6.2.2.r       Reply code 551                    all
  114. 6.2.2.s       Reply code 552                    all
  115. 6.2.2.t       Reply code 553                    all
  116. 6.2.2.u       Reply code 554                    all
  117. 6.3           Sequencing of commands and replies 26
  118. 6.3.1         Command-reply sequences           39, all
  119. 6.5.1         Minimum implementation            1, 2, 3, 4, 22, 23
  120. 6.5.2         Transparency                      40
  121. 6.5.2.1       ASCII characters                  44, 45
  122. 6.5.3         Sizes                             see the following
  123. 6.5.3.a         User Name                       42
  124. 6.5.3.b         Domain Name                     30
  125. 6.5.3.c         Path Name                       36
  126. 6.5.3.d         Command Line                    41
  127. 6.5.3.e         Reply Line                      43
  128. 6.5.3.f         Text Line                       42
  129. 6.5.3.g         Recipients Buffer               50
  130.  
  131. The SMTP Procedures
  132.  
  133. 5.2           Mail                              1, 2, 3, 26
  134. 5.3           Forwarding                        4, 31, 32, 33, 34, 47
  135. 5.4           Verifying and expanding           16, 17, 18, 19
  136. 5.5           Sending and mailing               5, 6, 7, 8, 9, 10, 11, 14,
  137.                                                 15, 46, 47
  138. 5.6           Opening and closing               all
  139. 5.7           Relaying                          4, 31, 32, 33, 34, 47
  140. 5.7.3           Prevention of loops in error    36
  141.                 reporting
  142. 5.7.4           Undeliverable mail notification 37
  143. 5.8           Domains                           30
  144. 5.9           Changing roles                    25
  145. 5.9.1           Refusal to change roles         25
  146. 12 March 1987                  -4-                 Unisys Corporation
  147.                                                     TM-WD-8801/610/01
  148.  
  149. SMTP TESTS INDEX:  SMTP TEST NUMBERS vs. SMTP
  150. COMMANDS/OPTIONS/PROCEDURES
  151.  
  152. The following table shows the SMTP Test Numbers regarded as the
  153. principle tests of each SMTP command, option, or procedure.
  154.  
  155.        (R) - SMTP-Receiver test
  156.        (S) - SMTP-Sender test
  157.  
  158. SMTP Test Number Test Purpose
  159.  
  160.      01 (R) Correct function of mail transaction commands
  161.             (HELO, MAIL, RCPT, DATA, QUIT)
  162.      02 (S) Correct function of mail transaction commands
  163.             (HELO, MAIL, RCPT, DATA, QUIT)
  164.      03 (R) Correct function of multiple HELO commands
  165.      04 (R) Correct function of multiple RCPT commands
  166.      05 (R) Correct function of SEND command
  167.      06 (R) Capability to process incorrect SEND command
  168.      07 (R) Correct function of SOML command
  169.      08 (S) Correct function of SOML command
  170.      09 (R) Correct function of SAML command
  171.      10 (S) Correct function of SAML command
  172.      11 (S) Correct function of SEND command
  173.      12 (R) Correct function of RSET command
  174.      13 (R) Correct function of RSET command after RCPT
  175.      14 (R) Correct function of RSET command after SOML
  176.      15 (R) Correct function of RSET command after SAML
  177.      16 (R) Correct function of VRFY command
  178.      17 (R) Correct function of VRFY command
  179.      18 (R) Correct function of EXPN command
  180.      19 (R) Correct function of EXPN command
  181.      20 (R) Correct function of HELP command
  182.      21 (R) Correct function of HELP command
  183.      22 (R) Correct function of NOOP command during a transaction
  184.      23 (R) Correct function of NOOP command during a transaction
  185.      24 (R) Correct function of NOOP command during a transaction
  186.      25 (R) Correct function of TURN command
  187.      26 (R) Capability to process incorrect command sequence
  188.      27 (R) Capability to process incorrect command syntax
  189.      28 (R) Capability to process incorrect command syntax
  190.      29 (S) Capability to process incorrect command syntax
  191.      30 (R) Capability to correctly process hostnames
  192.      31 (R) Capability to correctly process relay mail messages
  193.      32 (R) Capability to correctly process multiple mail messages
  194.      33 (R) Capability to correctly process relay mail through more than 
  195.             two hosts
  196.      34 (R) Capability to correctly process incorrect relay mail messages
  197.      35 (R) Capability to correctly process reverse pathnames
  198.      36 (R) Capability to correctly process null reverse pathnames
  199. 12 March 1987                  -5-                 Unisys Corporation
  200.                                                     TM-WD-8801/610/01
  201.  
  202.      37 (R) Capability to correctly process undeliverable mail
  203.      38 (R) Capability to correctly process timestamps
  204.      39 (S) Capability to correctly process incorrect command replies
  205.      40 (R) Capability to correctly process transparency
  206.      41 (R) Capability to correctly process excessive command length
  207.      42 (R) Capability to correctly process excessive text length
  208.      43 (S) Capability to correctly process excessive data length
  209.      44 (R) Capability to correctly process all ASCII characters
  210.      45 (S) Capability to correctly process all ASCII characters
  211.      46 (R) Capability to correctly process simultaneous SMTP transactions
  212. 12 March 1987                  -6-                 Unisys Corporation
  213.                                                     TM-WD-8801/610/01
  214.  
  215. SMTP TEST SCENARIOS INDEX:  SMTP TEST SCENARIO FILES vs. SMTP
  216. TEST NUMBERS
  217.  
  218. The following table shows, for each SMTP Test Number, the UNIX
  219. filename of the SMTP Test Scenario files in which it is a test.
  220.  
  221.       (r) - SMTP-Receiver test
  222.       (s) - SMTP-Sender test
  223.  
  224. TEST NUMBER    UNIX FILENAME
  225.      01      r_basic
  226.      02      s_basic
  227.      03      r_helomulti
  228.      04      r_multircpt
  229.      05      r_send
  230.      06      r_sendbad
  231.      07      r_soml
  232.      08      s_soml
  233.      09      r_saml
  234.      10      s_saml
  235.      11      s_send
  236.      12      r_rset
  237.      13      r_rsetrcpt
  238.      14      r_rsetsoml
  239.      15      r_rsetsaml
  240.      16      r_vrfy
  241.      17      r_vrfy
  242.      18      r_expn
  243.      19      r_expn
  244.      20      r_help
  245.      21      r_help
  246.      22      r_nooptrans
  247.      23      r_nooptrans
  248.      24      r_nooptrans
  249.      25      r_turn
  250.      26      r_seqbad
  251.      27      r_badsyntax
  252.      28      r_badsyntax
  253.      29      s_syntaxbad
  254.      30      r_hostnames
  255.      31      r_relay
  256.      32      r_relaymult
  257.      33      r_relay3
  258.      34      r_relaybad
  259.      35      r_revpath
  260.      36      r_nullrevpath
  261.      37      r_undeliver
  262.      38      r_timestamp
  263.      39      s_replybad
  264.      40      r_transpar
  265.      41      r_longcmd
  266.      42      r_longtext
  267.      43      s_longline
  268.      44      r_ascii
  269.      45      s_ascii
  270.      46      r_multismtp
  271. 12 March 1987                  -7-                 Unisys Corporation
  272.                                                     TM-WD-8801/610/01
  273.  
  274. SMTP TEST AND SCENARIO DESCRIPTIONS
  275.  
  276. This section provides a description of each SMTP Scenario
  277. objective and an operational description of each test's
  278. verification procedure.
  279.  
  280. Scenario r_basic
  281.  
  282. Scenario r_basic is the first scenario of an SMTP test session.
  283. This scenario tests the Receiver-SMTP Implementation Under Test
  284. (IUT) for basic mail reception and the compliance of the IUT
  285. Remote Driver (RD) to the DCA Protocol Laboratory SMTP Remote
  286. Driver Specification.  If the IUT and the RD do not produce good
  287. results on the first run of this test scenario, then further
  288. testing should be abandoned until the problems are corrected.
  289.  
  290. In scenario r_basic the Central Driver (CD) commands the
  291. Laboratory Driver (LD) to mail a message to the IUT.  The CD then
  292. verifies the receipt of the message by commanding the RD to read
  293. the IUT's mail queue and send the results back to the CD using
  294. the RD spool command.  The CD verifies that the correct command
  295. responses and mail message were received.
  296.  
  297. TEST 1:  BASIC MAIL RECEPTION (RECEIVER-SMTP)
  298.  
  299. Does the IUT correctly receive a mail message and store it in its
  300. mail queue?
  301.  
  302. ACTION:  The CD establishes a connection with the IUT.  The CD
  303. conducts a basic mail transaction (HELO, MAIL, RCPT, DATA, QUIT)
  304. sending a message containing a unique message identification
  305. number.  The RD reads the IUT mail queue and sends back the mail
  306. message to the CD in a Test Scenario Language (TSL) data packet.
  307.  
  308. VERIFICATION:  The CD searches the contents of the TSL data
  309. packet for the correct command replies and message identification
  310. (id) number.
  311.  
  312. SUCCESS:  The correct command replies and message id are found.
  313.  
  314. FAILURE:  Any of the following indicates an IUT failure:
  315.                 Connection not made;
  316.                 Incorrect command replies received;
  317.                 RD does not correctly interpret CD commands, or
  318.                 acknowledge CD commands, or format IUT responses;
  319.                 Message id is wrong or nonexistent.
  320.  
  321. Scenario s_basic
  322.  
  323. Scenario s_basic tests the Sender-SMTP IUT for basic mail
  324. transmission capability.  If the Sender-SMTP IUT and RD do not
  325. produce good results on the first run of this test scenario, then
  326. further testing should be abandoned until the problems are
  327. corrected.
  328. 12 March 1987                  -8-                 Unisys Corporation
  329.                                                     TM-WD-8801/610/01
  330.  
  331. In scenario s_basic the CD commands the RD to place a mail
  332. message with a known message identification number on the IUT's
  333. queue.  The mail message is addressed to the Reference Receiver
  334. SMTP at the Protocol Laboratory.  The Sender-SMTP IUT should start
  335. a mail transaction and send the message.  The CD confirms the
  336. receipt of the message by reading the laboratory mail queue.  The
  337. CD verifies that the correct mail message was received by
  338. searching for the known message identification number.
  339.  
  340. TEST 2:  BASIC MAIL TRANSMISSION (SENDER-SMTP)
  341.  
  342. Does the IUT Sender-SMTP correctly format and transmit a mail
  343. message?
  344.  
  345. ACTION:  The CD establishes a connection with the IUT.  The CD
  346. commands the RD to place a mail message with a unique id number
  347. on the IUT mail queue.  The Sender-SMTP IUT should find the
  348. message in the queue and start a mail transaction.  The mail
  349. message is sent to the Reference Receiver-SMTP.  The Reference
  350. places the message on the Lab mail queue.  The CD commands the LD
  351. to spool the mail message.  The LD passes the mail message,
  352. including the id number, to the CD in a TSL data packet.
  353.  
  354. VERIFICATION:  The CD searches for the correct command sequences
  355. and the correct message id number.
  356.  
  357. SUCCESS:  The correct command sequences and message id are found.
  358.  
  359. FAILURE:  Any of the following indicates an IUT failure:
  360.                 Connection not made;
  361.                 Command sequences are incorrect;
  362.                 RD does not correctly interpret CD commands, or
  363.                 acknowledge CD commands, or format IUT responses;
  364.                 Message id is wrong or nonexistent.
  365.  
  366.  
  367. Scenario r_helomulti
  368.  
  369. Scenario r_helomulti tests the Receiver-SMTP IUT capability to
  370. correctly process multiple HELO commands after the start of a
  371. mail transaction.
  372.  
  373. TEST 3:  MULTIPLE HELO COMMANDS DURING TRANSACTION
  374.  
  375. Does the IUT correctly process multiple HELO commands after the
  376. start of a mail transaction?
  377.  
  378. ACTION:  The CD establishes a connection with the IUT.  Multiple
  379. HELO commands are issued, followed by a QUIT command.
  380. 12 March 1987                  -9-                 Unisys Corporation
  381.                                                     TM-WD-8801/610/01
  382.  
  383. VERIFICATION:  The CD searches for the correct command replies.
  384.  
  385. SUCCESS:  The CD receives a command reply of 250 for each HELO command.
  386.  
  387. FAILURE:  Any of the following indicates an IUT failure:
  388.                 Command replies of 500, 501, 504, or 421;
  389.                 Command replies other than those listed above;
  390.                 Connection not made;
  391.                 RD does not correctly interpret CD commands, or
  392.                 acknowledge CD commands, or format IUT responses.
  393.  
  394.  
  395. Scenario r_multircpt
  396.  
  397. Scenario r_multircpt tests the Receiver-SMTP IUT capability to
  398. process multiple RCPT commands during a mail transaction.
  399.  
  400.  
  401. TEST 4:  MULTIPLE RCPT COMMANDS DURING A TRANSACTION
  402.  
  403. Does the IUT correctly process multiple recipients?
  404.  
  405. ACTION:  The CD establishes a connection with the IUT.  The CD
  406. first sends the HELO and MAIL commands.  Then the CD sends
  407. multiple RCPT commands.
  408.  
  409. VERIFICATION:  The CD searches for the correct command replies.
  410. The CD also checks the mail queue for multiple mail messages.
  411. All messages should be received with the correct message id
  412. number.
  413.  
  414. SUCCESS:  CD receives a command reply of 250 or 251, and all
  415. messages are received with the correct message id.
  416.  
  417. FAILURE:  Any of the following indicates an IUT failure:
  418.                 Command error reply of 500, 501, 503, 421
  419.                 received;
  420.                 Command failure reply of 550, 551, 552 553 450
  421.                 451, or 452 received;
  422.                 Connection not made;
  423.                 RD does not correctly interpret CD commands, or
  424.                 acknowledge CD commands, or format IUT responses;
  425.                 A message id is wrong or nonexistent.
  426.  
  427.  
  428. Scenario r_send
  429.  
  430. Scenario r_send tests the Receiver-SMTP IUT capability to process
  431. the SEND command.  The CD commands the LD to send a mail message
  432. with a known identification number to the destination IUT's
  433. terminal screen (not to a mailbox).  The tester must verify the
  434. correct receipt of the message by manually checking the terminal
  435. screen.
  436. 12 March 1987                  -10-                Unisys Corporation
  437.                                                     TM-WD-8801/610/01
  438.  
  439. TEST 5:  SEND COMMAND DURING A TRANSACTION
  440. Does the IUT correctly process the SEND command?
  441.  
  442. ACTION:  The CD establishes a connection with the IUT.  The CD
  443. commands the LD to issue the SEND command with a known message
  444. identification number.  The message is displayed on the
  445. destination terminal screen.
  446.  
  447. VERIFICATION:  The CD searches for the correct command reply and
  448. receives manual verification of correct message receipt at
  449. destination terminal.  Also, no mail message should have been
  450. spooled onto IUT mail queue.
  451.  
  452. SUCCESS:  The CD receives a command reply of 250, a manual
  453. verification of message receipt, and no mail message is found on
  454. IUT mail queue.
  455.  
  456. FAILURE:  Any of the following indicates an IUT failure:
  457.                 Command failure reply of 552, 451, or 452;
  458.                 Command error reply of 500, 501, 502, or 421;
  459.                 Mail message found on IUT mail queue;
  460.                 Connection not made;
  461.                 RD does not correctly interpret CD commands, or
  462.                 acknowledge CD commands, or format IUT responses;
  463.                 Message id is wrong or nonexistent.
  464.  
  465. Scenario r_sendbad
  466.  
  467. Scenario r_sendbad tests the Receiver-SMTP IUT capability to
  468. process the SEND command with an undeliverable destination
  469. address.  If the IUT offers SEND service, then the CD commands
  470. the LD to send a mail message to the IUT.  The message will
  471. always be undeliverable since the message will be addressed to a
  472. test user who would not be logged on.  Therefore, the IUT should
  473. notify the CD of an undeliverable message.
  474.  
  475. TEST 6:  SEND COMMAND WITH AN UNDELIVERABLE ADDRESS
  476. Does the IUT correctly process undeliverable mail using the SEND
  477. command?
  478.  
  479. ACTION:  The CD establishes a connection with the IUT.  The CD
  480. commands the LD to send a mail message to a nonexistent user.
  481. VERIFICATION: The CD searches for the correct error reply to the
  482. RCPT command (the RCPT command is used in conjunction with the
  483. SEND command).
  484.  
  485. SUCCESS:  The CD receives an error reply of 550 or 421.
  486. 12 March 1987                  -11-                Unisys Corporation
  487.                                                     TM-WD-8801/610/01
  488.  
  489. FAILURE:  Any of the following indicates an IUT failure:
  490.                 Command success reply of 250, or 251 received;
  491.                 Command error reply of 500, 501, or 503 received;
  492.                 Command failure reply of 551, 552, 553, 450, 451, or 452;
  493.                 Connection not made;
  494.                 RD does not correctly interpret CD commands, or
  495.                 acknowledge CD commands, or format IUT responses;
  496.                 Message id is wrong or nonexistent.
  497.  
  498. Scenario r_soml
  499.  
  500. Scenario r_soml tests the Receiver-SMTP IUT capability to process
  501. the SOML command.  The CD commands the LD to send or mail a mail
  502. message with a known identification number to the destination
  503. IUT's terminal screen or mailbox.  If the message does not get
  504. placed onto the IUT mail queue, then the tester must verify the
  505. correct receipt of the message by manually checking the terminal
  506. screen.
  507.  
  508.  
  509. TEST 7:  SOML COMMAND DURING A TRANSACTION (RECEIVER-SMTP)
  510.  
  511. Does the Receiver-SMTP IUT correctly process the SOML command?
  512.  
  513. ACTION: The CD establishes a connection with the IUT.  The CD
  514. commands the LD to issue the SOML command with a known message
  515. identification number.  The message is either displayed on the
  516. destination terminal screen or placed onto the IUT mail queue,
  517. but not both.
  518.  
  519. VERIFICATION:  The CD searches for the correct command reply and,
  520. if the message was not placed onto the IUT mail queue, receives
  521. manual verification of correct message receipt at destination
  522. terminal.  Also, no mail message should have been placed onto the
  523. IUT mail queue if the message was displayed at the destination
  524. terminal.
  525.  
  526. SUCCESS:  The CD receives a command reply of 250, a manual
  527. verification of message receipt at destination terminal, and no
  528. mail message is found on IUT mail queue; or, a 250 reply with no
  529. message received at the destination terminal, but a correct
  530. message placed onto the IUT mail queue.
  531.  
  532. FAILURE:  Any of the following indicates an IUT failure:
  533.                 Command failure reply of 552, 451, or 452;
  534.                 Command error reply of 500, 501, 502, or 421;
  535.                 Connection not made;
  536.                 RD does not correctly interpret CD commands, or
  537.                 acknowledge CD commands, or format IUT responses;
  538.                 Message id is wrong or nonexistent.
  539. 12 March 1987                  -12-                Unisys Corporation
  540.                                                     TM-WD-8801/610/01
  541.  
  542. Scenario s_soml
  543.  
  544. Scenario s_soml tests the Server-SMTP IUT capability to process
  545. the SOML command.  The CD commands the RD to queue a mail message
  546. with a known identification number.  The IUT should find the
  547. message in the queue and send or mail the message to the
  548. destination terminal screen or mailbox.  If the message does not
  549. get placed onto the laboratory mail queue, then the lab tester
  550. must verify the correct receipt of the message by manually
  551. checking the destination terminal screen.  The destination is the
  552. tsl mailbox or terminal.
  553.  
  554. TEST 8:  SOML COMMAND DURING A TRANSACTION (SENDER-SMTP)
  555. Does the Sender-SMTP IUT correctly process the SOML command?
  556.  
  557. ACTION:  The CD establishes a connection with the RD.  The CD
  558. commands the RD to queue a mail message with a known
  559. identification number.  The IUT should find the message in the
  560. queue and send or mail the message to the laboratory destination
  561. terminal screen or mailbox.  The destination is the tsl mailbox
  562. or terminal.  If the message does not get placed onto the
  563. laboratory mail queue, then the lab tester must verify the
  564. correct receipt of the message by manually checking the
  565. destination terminal screen.
  566.  
  567. VERIFICATION:  The CD searches for the correct message
  568. identification number in the laboratory mail queue.  If the
  569. message was not placed onto the mail queue, then manual
  570. verification of correct message receipt at destination terminal
  571. is performed by lab tester.  Also, no mail message should have
  572. been placed onto the mail queue if the message was displayed at
  573. the destination terminal.
  574.  
  575. SUCCESS:  The CD finds the correct message identification number
  576. in the mail queue and no message appears at the destination
  577. terminal.  Or, the message appears at the destination terminal
  578. and no message is found in the mail queue.
  579.  
  580. FAILURE:  Any of the following indicates an IUT failure:
  581.                 Message does not appear in either the destination
  582.                 mail queue or at the destination terminal, or
  583.                 appears at both;
  584.                 Connection not made;
  585.                 RD does not correctly interpret CD commands, or
  586.                 acknowledge CD commands, or format IUT responses;
  587.                 Message id is wrong or nonexistent.
  588. 12 March 1987                  -13-                Unisys Corporation
  589.                                                     TM-WD-8801/610/01
  590.  
  591. Scenario r_saml
  592.  
  593. Scenario r_saml tests the Receiver-SMTP IUT capability to process
  594. the SAML command.  The CD commands the LD to send and mail a mail
  595. message with a known identification number to the destination
  596. IUT's terminal screen and mailbox.  The remote tester must verify
  597. the correct receipt of the message by manually checking the
  598. terminal screen.  The CD determines whether the mail message was
  599. correctly placed on the IUT mail queue.
  600.  
  601. TEST 9:  SAML COMMAND DURING A TRANSACTION (RECEIVER-SMTP)
  602. Does the Receiver-SMTP IUT correctly process the SAML command?
  603.  
  604. ACTION:  The CD establishes a connection with the IUT.  The CD
  605. commands the LD to issue the SAML command with a known message
  606. identification number.  The message is displayed on the
  607. destination terminal screen and placed onto the IUT mail queue.
  608.  
  609. VERIFICATION:  The CD searches for the correct command reply and
  610. receives manual verification of correct message receipt at the
  611. destination terminal.  The mail message should have been placed
  612. onto the IUT mail queue and the message displayed at the
  613. destination terminal.
  614.  
  615. SUCCESS:  The CD receives a command reply of 250, a manual
  616. verification of correct message receipt at destination terminal,
  617. and the mail message is found on the IUT mail queue.
  618.  
  619. FAILURE:  Any of the following indicates an IUT failure:
  620.                 Command failure reply of 552, 451, or 452;
  621.                 Command error reply of 500, 501, 502, or 421;
  622.                 Connection not made;
  623.                 RD does not correctly interpret CD commands, or
  624.                 acknowledge CD commands, or format IUT responses;
  625.                 Message id is wrong or nonexistent.
  626.  
  627.  
  628. Scenario s_saml
  629.  
  630. Scenario s_saml tests the Server-SMTP IUT capability to process
  631. the SAML command.  The CD commands the RD to queue a mail message
  632. with a known identification number.  The IUT should find the
  633. message in the queue and send and mail the message to the
  634. destination terminal screen and mailbox.  The destination is the
  635. tsl mailbox or terminal at the laboratory.  The CD determines
  636. whether the mail message was correctly placed on the laboratory
  637. mail queue.  The lab tester verifies the correct receipt of the
  638. message at the destination terminal by manually checking the
  639. destination terminal screen.
  640. 12 March 1987                  -14-                Unisys Corporation
  641.                                                     TM-WD-8801/610/01
  642.  
  643. TEST 10:  SAML COMMAND DURING A TRANSACTION (SENDER-SMTP)
  644. Does the Sender-SMTP IUT correctly process the SAML command?
  645.  
  646. ACTION:  The CD establishes a connection with the RD.  The CD
  647. commands the RD to queue a mail message with a known
  648. identification number.  The IUT should find the message in the
  649. queue and send and mail the message to the laboratory destination
  650. terminal screen and mailbox.  The destination is the tsl mailbox
  651. or terminal.  The lab tester must verify the correct receipt of
  652. the message by manually checking the destination terminal screen.
  653.  
  654. VERIFICATION:  The CD searches for the correct message
  655. identification number in the laboratory mail queue.  Manual
  656. verification of the correct message receipt at the destination
  657. terminal is performed by the lab tester.  The mail message should
  658. have been placed onto the mail queue and the message displayed at
  659. the destination terminal.
  660.  
  661. SUCCESS:  The CD finds the correct message identification number
  662. in the mail queue and the correct message appears at the
  663. destination terminal.
  664.  
  665. FAILURE:  Any of the following indicates an IUT failure:
  666.                 Message does not appear in either the destination
  667.                 mail queue or at the destination terminal, or
  668.                 appears at one but not the other;
  669.                 Connection not made;
  670.                 RD does not correctly interpret CD commands, or
  671.                 acknowledge CD commands, or format IUT responses;
  672.                 Message id is wrong or nonexistent.
  673.  
  674.  
  675. Scenario s_send
  676.  
  677. Scenario s_send tests the Server-SMTP IUT capability to process
  678. the SEND command.  The CD commands the RD to queue a mail message
  679. with a known identification number.  The IUT should find the
  680. message in the queue and send the message to the destination
  681. terminal screen.  The lab tester must verify the correct receipt
  682. of the message by manually checking the destination terminal
  683. screen.  The destination is the tsl terminal.
  684. 12 March 1987                  -15-                Unisys Corporation
  685.                                                     TM-WD-8801/610/01
  686.  
  687. TEST 11:  SEND COMMAND DURING A TRANSACTION (SENDER-SMTP)
  688.  
  689. Does the Sender-SMTP IUT correctly process the SEND command?
  690.  
  691. ACTION:  The CD establishes a connection with the RD.  The CD
  692. commands the RD to queue a mail message with a known
  693. identification number.  The IUT should find the message in the
  694. queue and send the message to the laboratory destination terminal
  695. screen.  The destination is the tsl terminal.  The lab tester
  696. must verify the correct receipt of the message by manually
  697. checking the destination terminal screen.
  698.  
  699. VERIFICATION:  Manual verification of the correct message receipt
  700. at the destination terminal is performed by the lab tester.  No
  701. mail message should have been placed onto the mail queue.  The CD
  702. searches for the correct message identification number in the
  703. laboratory mail queue.  If the message was placed onto the mail
  704. queue, then the IUT fails.
  705.  
  706. SUCCESS:  The CD does not find the correct message identification
  707. number in the mail queue and the correct message appears at the
  708. destination terminal.
  709.  
  710. FAILURE:  Any of the following indicates an IUT failure:
  711.                 Message does not appear at the destination
  712.                 terminal, or appears in destination mail queue;
  713.                 Connection not made;
  714.                 RD does not correctly interpret CD commands, or
  715.                 acknowledge CD commands, or format IUT responses;
  716.                 Message id is wrong or nonexistent.
  717.  
  718.  
  719. Scenario r_rset
  720.  
  721. Scenario r_rset tests the Receiver-SMTP IUT capability to
  722. correctly process the RSET command during a transaction.
  723.  
  724. TEST 12:  RSET COMMAND DURING A TRANSACTION
  725.  
  726. Does the IUT correctly process the RSET command during a
  727. transaction?
  728.  
  729. ACTION:  The CD establishes a connection with the IUT.  The CD
  730. commands the IUT to start a mail transaction by issuing the HELO
  731. and MAIL commands.  Then the RSET command is issued and the
  732. transaction is resumed.
  733. 12 March 1987                  -16-                Unisys Corporation
  734.                                                     TM-WD-8801/610/01
  735.  
  736. VERIFICATION:  The CD searches for the correct command replies.
  737.  
  738. SUCCESS:  The CD receives a command reply of 250 for the RSET
  739. command and the IUT is able to complete the mail transaction.
  740.  
  741. FAILURE:  Any of the following indicates an IUT failure:
  742.                 Command replies of 500, 501, 504, or 421;
  743.                 Command replies other than those listed above;
  744.                 Connection not made;
  745.                 RD does not correctly interpret CD commands, or
  746.                 acknowledge CD commands, or format IUT responses;
  747.                 Message id is wrong or nonexistent.
  748.  
  749.  
  750. Scenario r_rsetrcpt
  751.  
  752. Scenario r_rsetrcpt tests the Receiver-SMTP IUT capability to
  753. correctly process the RSET command after a RCPT command has been
  754. issued.
  755.  
  756. TEST 13:  RSET COMMAND AFTER RCPT
  757.  
  758. Does the IUT correctly process the RSET command after a RCPT
  759. command?
  760.  
  761. ACTION:  The CD establishes a connection with the IUT.  The CD
  762. commands the IUT to start a mail transaction by issuing the HELO,
  763. MAIL, and RCPT commands.  Then the RSET command is issued and the
  764. transaction is resumed.
  765.  
  766. VERIFICATION:  The CD searches for the correct command replies.
  767.  
  768. SUCCESS:  The CD receives a command reply of 250 for the RCPT
  769. command and the IUT is able to complete the mail transaction.
  770.  
  771. FAILURE:  Any of the following indicates an IUT failure:
  772.                 Command replies of 500, 501, 504, or 421;
  773.                 Command replies other than those listed above;
  774.                 Connection not made;
  775.                 RD does not correctly interpret CD commands, or
  776.                 acknowledge CD commands, or format IUT responses;
  777.                 Message id is wrong or nonexistent.
  778.  
  779.  
  780. Scenario r_rsetsoml
  781.  
  782. Scenario r_rsetsoml tests the Receiver-SMTP IUT capability to
  783. correctly process the RSET command during a SOML transaction.
  784. 12 March 1987                  -17-                Unisys Corporation
  785.                                                     TM-WD-8801/610/01
  786.  
  787. TEST 14:  RSET COMMAND DURING A SOML TRANSACTION
  788.  
  789. Does the IUT correctly process the RSET command during a SOML
  790. transaction?
  791.  
  792. ACTION:  The CD establishes a connection with the IUT.  The CD
  793. commands the IUT to start a send or mail transaction by issuing
  794. the HELO and SOML commands.  Then the RSET command is issued and
  795. the transaction is resumed.
  796.  
  797. VERIFICATION:  The CD searches for the correct command replies.
  798.  
  799. SUCCESS:  The CD receives a command reply of 250 for the RSET
  800. command and the IUT is able to complete the mail transaction.
  801.  
  802. FAILURE:  Any of the following indicates an IUT failure:
  803.                 Command replies of 500, 501, 504, or 421;
  804.                 Command replies other than those listed above;
  805.                 Connection not made;
  806.                 RD does not correctly interpret CD commands, or
  807.                 acknowledge CD commands, or format IUT responses;
  808.                 Message id is wrong or nonexistent.
  809.  
  810.  
  811. Scenario r_rsetsaml
  812.  
  813. Scenario r_rsetsaml tests the Receiver-SMTP IUT capability to
  814. correctly process the RSET command during a SAML transaction.
  815.  
  816.  
  817. TEST 15:  RSET COMMAND DURING A SAML TRANSACTION
  818.  
  819. Does the IUT correctly process the RSET command during a SAML
  820. transaction?
  821.  
  822. ACTION:  The CD establishes a connection with the IUT.  The CD
  823. commands the IUT to start a send and mail transaction by issuing
  824. the HELO and SAML commands.  Then the RSET command is issued and
  825. the transaction is resumed.
  826.  
  827. VERIFICATION:  The CD searches for the correct command replies.
  828.  
  829. SUCCESS:  The CD receives a command reply of 250 for the RSET
  830. command and the IUT is able to complete the mail transaction.
  831.  
  832. FAILURE:  Any of the following indicates an IUT failure:
  833.                 Command replies of 500, 501, 504, or 421;
  834.                 Command replies other than those listed above;
  835.                 Connection not made;
  836.                 RD does not correctly interpret CD commands, or
  837.                 acknowledge CD commands, or format IUT responses;
  838.                 Message id is wrong or nonexistent.
  839. 12 March 1987                  -18-                Unisys Corporation
  840.                                                     TM-WD-8801/610/01
  841.  
  842. Scenario r_vrfy
  843.  
  844. Scenario r_vrfy tests the Receiver-SMTP IUT capability to
  845. correctly process the VRFY command inside and outside of a
  846. transaction.
  847.  
  848. TEST 16:  VRFY COMMAND OUTSIDE A TRANSACTION
  849.  
  850. Does the IUT correctly process the VRFY outside of a transaction?
  851.  
  852. ACTION:  The CD establishes a connection with the IUT.  The CD
  853. issues the HELO command followed by the VRFY command.  The
  854. username "test" is used as the parameter to the VRFY command.
  855. The remote site must have an account with username "test" for the
  856. test to succeed.
  857.  
  858. VERIFICATION:  The CD searches for the correct command replies.
  859.  
  860. SUCCESS:  The CD receives a command reply of 250 or 251 for the
  861. VRFY command.
  862.  
  863. FAILURE:  Any of the following indicates an IUT failure:
  864.                 Connection not made;
  865.                 Command reply of 500, 501, 502, 421, or 550.
  866.                 Command reply other than those listed above;
  867.                 RD does not correctly interpret CD commands, or
  868.                 acknowledge CD commands, or format IUT responses;
  869.                 Message id is wrong or nonexistent.
  870.  
  871. TEST 17:  VRFY COMMAND DURING A TRANSACTION
  872.  
  873. Does the IUT correctly process the VRFY during a transaction?
  874.  
  875. ACTION:  The CD establishes a connection with the IUT.  The CD
  876. issues the HELO and MAIL commands followed by the VRFY command,
  877. and then the RCPT command followed by the VRFY command.  The
  878. username "test" is used as the parameter to the VRFY command.
  879. The remote site must have an account with username "test" for the
  880. test to succeed.
  881.  
  882. VERIFICATION:  The CD searches for the correct command replies.
  883.  
  884. SUCCESS:  The CD receives a command reply of 250 or 251 for the
  885. VRFY command.
  886.  
  887. FAILURE:  Any of the following indicates an IUT failure:
  888.                 Connection not made;
  889.                 Command reply of 500, 501, 502, 421, 550, 551, or 553.
  890.                 Command reply other than those listed above;
  891.                 RD does not correctly interpret CD commands, or
  892.                 acknowledge CD commands, or format IUT responses;
  893.                 Message id is wrong or nonexistent.
  894. 12 March 1987                  -19-                Unisys Corporation
  895.                                                     TM-WD-8801/610/01
  896.  
  897. Scenario r_expn
  898.  
  899. Scenario r_expn tests the Receiver-SMTP IUT capability to
  900. correctly process the EXPN command inside and outside of a mail
  901. transaction.
  902.  
  903. TEST 18:  EXPN COMMAND OUTSIDE A TRANSACTION
  904.  
  905. Does the IUT correctly process the EXPN outside of a transaction?
  906.  
  907. ACTION:  The CD establishes a connection with the IUT.  The CD
  908. issues the HELO command followed by the EXPN command.  The
  909. groupname "test group" is used as the parameter to the EXPN
  910. command.  The remote site must have a group with groupname
  911. "test group" composed at least of users "test", "test2", and
  912. "test3", with "test3" being last in order, for the test to
  913. succeed.
  914.  
  915.  
  916. VERIFICATION:  The CD searches for the correct command replies.
  917.  
  918. SUCCESS:  The CD receives a command reply of 250 for the EXPN
  919. command.
  920.  
  921. FAILURE:  Any of the following indicates an IUT failure:
  922.                 Connection not made;
  923.                 Command reply of 500, 501, 502, 421, or 550 received;
  924.                 Command reply other than those listed above received;
  925.                 RD does not correctly interpret CD commands, or
  926.                 acknowledge CD commands, or format IUT responses;
  927.                 Message id is wrong or nonexistent.
  928.  
  929. TEST 19:  EXPN COMMAND DURING A TRANSACTION
  930.  
  931. Does the IUT correctly process the EXPN during a transaction?
  932.  
  933. ACTION:  The CD establishes a connection with the IUT.  The CD
  934. issues the HELO and MAIL commands followed by the EXPN command,
  935. and then the RCPT command followed by the EXPN command.  The
  936. groupname "test group" is used as the parameter to the EXPN
  937. command.  The remote site must have a group with groupname
  938. "test group"< composed at least of of users "test", "test2",
  939. "test3", with "test3" being last in order, for the test to
  940. succeed.
  941. 12 March 1987                  -20-                Unisys Corporation
  942.                                                     TM-WD-8801/610/01
  943.  
  944. VERIFICATION:  The CD searches for the correct command replies.
  945.  
  946. SUCCESS:  The CD receives a command reply of 250 for the EXPN
  947. command.
  948.  
  949. FAILURE:  Any of the following indicates an IUT failure:
  950.                 Connection not made;
  951.                 Command reply of 500, 501, 502, 421, or 550.
  952.                 Command reply other than those listed above;
  953.                 RD does not correctly interpret CD commands, or
  954.                 acknowledge CD commands, or format IUT responses;
  955.                 Message id is wrong or nonexistent.
  956.  
  957.  
  958. Scenario r_help
  959.  
  960. Scenario r_help tests the Receiver-SMTP capability to correctly
  961. process the EXPN command inside and outside of a mail
  962. transaction.
  963.  
  964.  
  965. TEST 20:  HELP COMMAND OUTSIDE A TRANSACTION
  966.  
  967. Does the IUT correctly process the HELP command outside of a
  968. transaction?
  969.  
  970. ACTION:  The CD establishes a connection with the IUT.  The CD
  971. issues the HELO command, immediately followed by the HELP
  972. command.
  973.  
  974. VERIFICATION:  The CD searches for the correct command replies.
  975.  
  976. SUCCESS:  The CD receives a command reply of 211 or 214 for the
  977. HELP command.
  978.  
  979. FAILURE:  Any of the following indicates an IUT failure:
  980.                 Connection not made;
  981.                 Command replies of 500, 501, 502, 504 or 421;
  982.                 Command reply other than those listed above;
  983.                 RD does not correctly interpret CD commands, or
  984.                 acknowledge CD commands, or format IUT responses;
  985.                 Message id is wrong or nonexistent.
  986. 12 March 1987                  -21-                Unisys Corporation
  987.                                                     TM-WD-8801/610/01
  988.  
  989. TEST 21:  HELP COMMAND DURING A TRANSACTION
  990.  
  991. Does the IUT correctly process the HELP command during a
  992. transaction?
  993.  
  994. ACTION:  The CD establishes a connection with the IUT.  The CD
  995. issues the HELO and MAIL commands, followed by the HELP command.
  996. Then the RCPT command is issued followed by the HELP command.
  997.  
  998. VERIFICATION:  The CD searches for the correct command replies.
  999.  
  1000. SUCCESS:  The CD receives a command reply of 211 or 214 for the
  1001. HELP command.
  1002.  
  1003. FAILURE:  Any of the following indicates an IUT failure:
  1004.                 Connection not made;
  1005.                 Command replies of 500, 501, 502, 504 or 421;
  1006.                 Command reply other than those listed above;
  1007.                 RD does not correctly interpret CD commands, or
  1008.                 acknowledge CD commands, or format IUT responses;
  1009.                 Message id is wrong or nonexistent.
  1010.  
  1011.  
  1012. Scenario r_nooptrans
  1013.  
  1014. Scenario r_nooptrans tests the Receiver-SMTP capability to
  1015. correctly process a sequence of commands, HELO and QUIT, that
  1016. establishes an SMTP connection and then closes it without
  1017. initiating a mail transaction.  Then, the NOOP command is tested
  1018. inside and outside a mail transaction.
  1019.  
  1020. TEST 22:  HELO-QUIT SEQUENCE AND NOOP COMMAND INSIDE AND OUTSIDE
  1021. TRANSACTION
  1022.  
  1023. Does the IUT correctly process the HELO-QUIT command sequence and
  1024. the NOOP command inside and outside of a mail transaction?
  1025.  
  1026. ACTION:  The CD establishes a connection with the IUT.  The HELO
  1027. command is issued, immediately followed by the QUIT command.  A
  1028. new connection is established, and the NOOP command is issued at
  1029. various places inside and outside of a mail transaction.
  1030.  
  1031. VERIFICATION:  The CD searches for the correct command replies.
  1032.  
  1033. SUCCESS:  The CD receives a command reply of 250 for the NOOP
  1034. command.
  1035. 12 March 1987                  -22-                Unisys Corporation
  1036.                                                     TM-WD-8801/610/01
  1037.  
  1038. FAILURE:  Any of the following indicates an IUT failure:
  1039.                 Connection not made;
  1040.                 Command replies of 500 or 421 received;
  1041.                 Command reply other than those listed above
  1042.                 received;
  1043.                 RD does not correctly interpret CD commands, or
  1044.                 acknowledge CD commands, or format IUT responses;
  1045.                 Message id is wrong or nonexistent.
  1046.  
  1047.  
  1048. TEST 23:  NOOP COMMAND OUTSIDE TRANSACTION
  1049.  
  1050. Does the IUT correctly process the NOOP command outside of a mail
  1051. transaction?
  1052.  
  1053. ACTION:  The CD establishes a connection with the IUT.  The HELO
  1054. command is issued, followed by the NOOP command and the QUIT
  1055. command.
  1056.  
  1057. VERIFICATION:  The CD searches for the correct command replies.
  1058.  
  1059. SUCCESS:  The CD receives a command reply of 250 for the NOOP
  1060. command.
  1061.  
  1062. FAILURE:  Any of the following indicates an IUT failure:
  1063.                 Connection not made;
  1064.                 Command replies of 500 or 421 received;
  1065.                 Command reply other than those listed above received;
  1066.                 RD does not correctly interpret CD commands, or
  1067.                 acknowledge CD commands, or format IUT responses;
  1068.                 Message id is wrong or nonexistent.
  1069.  
  1070. TEST 24:  NOOP COMMAND DURING TRANSACTION
  1071.  
  1072. Does the IUT correctly process the NOOP command during a mail
  1073. transaction?
  1074.  
  1075. ACTION:  The CD establishes a connection with the IUT.  The HELO
  1076. command is issued, followed by the MAIL and NOOP commands.  The
  1077. RCPT command is then issued followed by another NOOP command.
  1078. The CD completes the transaction and closes the connection.
  1079.  
  1080. VERIFICATION:  The CD searches for the correct command replies.
  1081.  
  1082. SUCCESS:  The CD receives a command reply of 250 for the NOOP
  1083. command and the mail message was sent correctly.
  1084. 12 March 1987                  -23-                Unisys Corporation
  1085.                                                     TM-WD-8801/610/01
  1086.  
  1087. FAILURE:  Any of the following indicates an IUT failure:
  1088.                 Connection not made;
  1089.                 Command replies of 500 or 421 received;
  1090.                 Command reply other than those listed above received;
  1091.                 RD does not correctly interpret CD commands, or
  1092.                 acknowledge CD commands, or format IUT responses;
  1093.                 Message id is wrong or nonexistent.
  1094.  
  1095.  
  1096. Scenario r_turn
  1097.  
  1098. Scenario r_turn tests the Receiver- and Sender-SMTP IUT
  1099. capability to correctly process the TURN command.  This scenario
  1100. begins by testing the IUT in its Receiver-SMTP mode.  If the TURN
  1101. command is implemented and the IUT accepts the command, then the
  1102. scenario tests the IUT in its Sender-SMTP mode.
  1103.  
  1104. TEST 25:  TURN COMMAND
  1105.  
  1106. Does the IUT successfully process the TURN command?
  1107.  
  1108. ACTION:  The CD establishes a connection with the IUT.  The HELO
  1109. command is issued, followed by the TURN command.  If the TURN
  1110. command is accepted by the IUT, then the IUT is tested as a
  1111. Sender-SMTP.  The CD commands the RD to queue a mail message with
  1112. a known identification number onto the IUT mail queue.  The SMTP
  1113. connection is then closed and the CD commands the Reference SMTP
  1114. to listen for a connection attempt from the IUT.  The mail
  1115. transaction is then tested as normal.
  1116.  
  1117. VERIFICATION:  The CD searches for the correct command replies
  1118. and the correct mail message identification number.
  1119.  
  1120. SUCCESS:  The CD receives a command reply of 250 and the correct
  1121. message identification number, or the CD receives the command
  1122. reply 502 indicating "Command not implemented."
  1123.  
  1124. FAILURE:  Any of the following indicates an IUT failure:
  1125.                 Connection not made;
  1126.                 Command replies of 500 or 503 received;
  1127.                 Command reply other than those listed above
  1128.                 received;
  1129.                 RD does not correctly interpret CD commands, or
  1130.                 acknowledge CD commands, or format IUT responses;
  1131.                 Message id is wrong or nonexistent.
  1132. 12 March 1987                  -24-                Unisys Corporation
  1133.                                                     TM-WD-8801/610/01
  1134.  
  1135. Scenario r_seqbad
  1136.  
  1137. Scenario r_seqbad tests the Receiver-SMTP capability to correctly
  1138. process an invalid sequence of commands.
  1139.  
  1140.  
  1141. TEST 26:  INVALID SEQUENCE OF COMMANDS
  1142.  
  1143. Does the IUT correctly process an invalid sequence of commands?
  1144.  
  1145. ACTION:  The CD establishes a connection with the IUT.  The HELO
  1146. command is issued, followed by the RCPT command.  The IUT should
  1147. send an error reply to the untimely RCPT command.  Then the MAIL
  1148. is issued, followed by the DATA command.  The IUT should issue an
  1149. error reply to the untimely DATA command.  Finally a valid
  1150. sequence of commands is issued.
  1151.  
  1152. VERIFICATION:  The CD searches for the correct error replies,
  1153. command replies, and message identification number.
  1154.  
  1155. SUCCESS:  The CD receives error replies of 503 for invalid
  1156. sequences, command replies of 250 for valid sequences, and the
  1157. correct message identification number.
  1158.  
  1159. FAILURE:  Any of the following indicates an IUT failure:
  1160.                 Connection not made;
  1161.                 Successful command replies received when error
  1162.                 replies are expected, and vice versa;
  1163.                 RD does not correctly interpret CD commands, or
  1164.                 acknowledge CD commands, or format IUT responses;
  1165.                 Message id is wrong or nonexistent.
  1166.  
  1167.  
  1168. Scenario r_badsyntax
  1169.  
  1170. Scenario r_badsyntax tests the Receiver-SMTP capability to
  1171. correctly process commands with invalid syntax.
  1172.  
  1173.  
  1174. TEST 27:  INVALID COMMAND SYNTAX
  1175.  
  1176. Does the IUT correctly process commands with incorrect syntax?
  1177.  
  1178. ACTION:  The CD establishes a connection with the IUT.  The HELO
  1179. command is issued followed by a MAIL command with incorrect
  1180. syntax.  The IUT should reply negatively.  The CD then issues a
  1181. MAIL command with correct syntax.  The CD then issues a RCPT
  1182. command with incorrect syntax.  The IUT should reply negatively.
  1183. The CD then issues a RCPT command with correct syntax.  The CD
  1184. completes the mail transaction and closes the connection.
  1185. 12 March 1987                  -25-                Unisys Corporation
  1186.                                                     TM-WD-8801/610/01
  1187.  
  1188. VERIFICATION:  The CD searches for the correct command replies.
  1189.  
  1190. SUCCESS:  The CD receives error replies of 500 for incorrect
  1191. syntaxes, command replies of 250 for correct syntaxes, and the
  1192. correct message identification number.
  1193.  
  1194. FAILURE:  Any of the following indicates an IUT failure:
  1195.                 Connection not made;
  1196.                 Successful command replies received when error
  1197.                 replies are expected, and vice versa;
  1198.                 RD does not correctly interpret CD commands, or
  1199.                 acknowledge CD commands, or format IUT responses;
  1200.                 Message id is wrong or nonexistent.
  1201.  
  1202.  
  1203. TEST 28:  INVALID COMMAND SYNTAX (NONEXISTENT COMMAND)
  1204.  
  1205. Does the IUT correctly process commands with incorrect syntax
  1206. (nonexistent command)?
  1207.  
  1208. ACTION:  The CD establishes a connection with the IUT.  The HELO
  1209. command is issued followed by MAIL and RCPT commands with correct
  1210. syntax.  The IUT should reply positively.  The CD then issues a
  1211. nonexistent command.  The IUT should reply negatively.  The CD
  1212. then correctly completes the mail transaction and closes the
  1213. connection.
  1214.  
  1215. VERIFICATION:  The CD searches for the correct command replies.
  1216.  
  1217. SUCCESS:  The CD receives error replies of 500 for incorrect
  1218. syntaxes, command replies of 250 for correct syntaxes, and the
  1219. correct message identification number.
  1220.  
  1221. FAILURE:  Any of the following indicates an IUT failure:
  1222. Connection not made;
  1223. Successful command replies received when error
  1224. replies are expected, and vice versa;
  1225. RD does not correctly interpret CD commands, or
  1226. acknowledge CD commands, or format IUT responses;
  1227. Message id is wrong or nonexistent.
  1228.  
  1229.  
  1230. Scenario s_syntaxbad
  1231.  
  1232. Scenario s_syntaxbad tests the Sender-SMTP IUT capability to
  1233. correctly process reply codes with incorrect syntax.
  1234. 12 March 1987                  -26-                Unisys Corporation
  1235.                                                     TM-WD-8801/610/01
  1236.  
  1237. TEST 29:  REPLY CODES WITH INCORRECT SYNTAX
  1238.  
  1239. Does the IUT correctly process reply codes with incorrect syntax?
  1240.  
  1241. ACTION:  The CD establishes a connection with the IUT.  The CD
  1242. commands the RD to place a mail message with a known
  1243. identification number onto the IUT mail queue.  The CD then
  1244. commands the Reference to listen for a connection attempt from
  1245. the IUT.  The CD replies correctly to the open request and the
  1246. HELO, MAIL, and RCPT commands, but replies incorrectly to the
  1247. DATA command.  The IUT should reset the connection with the RSET
  1248. command and then attempt to complete the transaction.
  1249.  
  1250. VERIFICATION:  The CD searches for the correct command sequences.
  1251.  
  1252. SUCCESS:  The CD receives the RSET command after sending an
  1253. incorrect reply code.
  1254.  
  1255. FAILURE:  Any of the following indicates an IUT failure:
  1256.                 Connection not made;
  1257.                 Incorrect command received;
  1258.                 RD does not correctly interpret CD commands, or
  1259.                 acknowledge CD commands, or format IUT responses;
  1260.                 Message id is wrong or nonexistent.
  1261.  
  1262.  
  1263. Scenario r_hostnames
  1264.  
  1265. Scenario r_hostnames tests the Receiver-SMTP capability to
  1266. correctly process hostnames in all valid domain formats.
  1267.  
  1268.  
  1269. TEST 30:  HOSTNAME FORMATS
  1270.  
  1271. Does the IUT correctly process different hostname formats?
  1272.  
  1273. ACTION:  The CD establishes a connection with the IUT.  Mail is
  1274. sent to the IUT with different hostname formats.
  1275.  
  1276. VERIFICATION:  The CD searches for the correct command replies
  1277. and message identification number.
  1278.  
  1279. SUCCESS:  The CD receives a command reply of 250 for all RCPT
  1280. commands using valid hostname formats.
  1281. 12 March 1987                  -27-                Unisys Corporation
  1282.                                                     TM-WD-8801/610/01
  1283.  
  1284. FAILURE:  Any of the following indicates an IUT failure:
  1285.                 Connection not made;
  1286.                 RCPT command failure reply of 550, 551, 552, 553,
  1287.                 450, 451, or 452 received;
  1288.                 RCPT command error reply of 500, 501, 503, or 421 received;
  1289.                 Command reply other than those listed above received;
  1290.                 RD does not correctly interpret CD commands, or
  1291.                 acknowledge CD commands, or format IUT responses;
  1292.                 Message id is wrong or nonexistent.
  1293.  
  1294.  
  1295. Scenario r_relay
  1296.  
  1297. Scenario r_relay tests the Receiver-SMTP IUT capability to relay
  1298. mail messages if the service is offered.
  1299.  
  1300.  
  1301. TEST 31:  MESSAGE RELAYING
  1302.  
  1303. Does the IUT correctly relay messages?
  1304.  
  1305. ACTION:  The CD establishes a connection with the IUT.  The CD
  1306. issues the HELO and MAIL commands.  The RCPT command is issued
  1307. with a pathname containing a relay.  The destination mailbox is
  1308. the "test" account.
  1309.  
  1310. VERIFICATION:  The CD searches for the correct command reply and
  1311. the correct mail message identification number.
  1312.  
  1313. SUCCESS:  The CD receives a command reply of 250 for the RCPT
  1314. command with the relay pathname.
  1315.  
  1316. FAILURE:  Any of the following indicates an IUT failure:
  1317.                 Connection not made;
  1318.                 RCPT command success reply of 251 received, since
  1319.                 the user "test" should be local;
  1320.                 RCPT command failure reply of 550, 551, 552, 553,
  1321.                 450, 451, or 452 received;
  1322.                 RCPT command error reply of 500, 501, 503, or 421 received;
  1323.                 Command reply other than those listed above received;
  1324.                 RD does not correctly interpret CD commands, or
  1325.                 acknowledge CD commands, or format IUT responses;
  1326.                 Message id is wrong or nonexistent.
  1327.  
  1328. Scenario r_relaymult
  1329.  
  1330. Scenario r_relaymult tests the Receiver-SMTP IUT capability to
  1331. relay multiple mail messages if the service is offered.
  1332. 12 March 1987                  -28-                Unisys Corporation
  1333.                                                     TM-WD-8801/610/01
  1334.  
  1335. TEST 32:  MULTIPLE MESSAGE RELAYING
  1336.  
  1337. Does the IUT correctly relay multiple messages?
  1338.  
  1339. ACTION:  The CD establishes a connection with the IUT.  The CD
  1340. issues the HELO and MAIL commands.  The RCPT command is issued
  1341. three times with a pathname containing a relay.  The destination
  1342. mailboxes are the "test", "test2", "test3" accounts.
  1343.  
  1344. VERIFICATION:  The CD searches for the correct command replies
  1345. and the correct mail message identification numbers.
  1346.  
  1347. SUCCESS:  The CD receives a command reply of 250 for the RCPT
  1348. commands with relay pathnames.
  1349.  
  1350. FAILURE:  Any of the following indicates an IUT failure:
  1351.                 Connection not made;
  1352.                 RCPT command success reply of 251 received, since
  1353.                 the user "test", "test2", and "test3" should be local;
  1354.                 RCPT command failure reply of 550, 551, 552, 553,
  1355.                 450, 451, or 452 received;
  1356.                 RCPT command error reply of 500, 501, 503, or 421 received;
  1357.                 Command reply other than those listed above received;
  1358.                 RD does not correctly interpret CD commands, or
  1359.                 acknowledge CD commands, or format IUT responses;
  1360.                 Message id is wrong or nonexistent.
  1361.  
  1362.  
  1363. Scenario r_relay3
  1364.  
  1365. Scenario r_relay3 tests the Receiver-SMTP IUT capability to relay
  1366. mail messages through multiple hosts if the service is offered.
  1367.  
  1368.  
  1369. TEST 33:  MESSAGE RELAYING THROUGH MULTIPLE HOSTS
  1370.  
  1371. Does the IUT correctly relay messages through multiple hosts?
  1372.  
  1373. ACTION:  The CD establishes a connection with the IUT.  The CD
  1374. issues the HELO and MAIL commands.  The RCPT command is issued
  1375. with a pathname containing a relay through multiple hosts.  The
  1376. destination mailbox is the "test" account.
  1377.  
  1378. VERIFICATION:  The CD searches for the correct command reply and
  1379. the correct mail message identification number.
  1380.  
  1381. SUCCESS:  The CD receives a command reply of 250 for the RCPT
  1382. command with the relay pathname.
  1383. 12 March 1987                  -29-                Unisys Corporation
  1384.                                                     TM-WD-8801/610/01
  1385.  
  1386. FAILURE:  Any of the following indicates an IUT failure:
  1387.                 Connection not made;
  1388.                 RCPT command success reply of 251 received, since
  1389.                 the user "test" should be local;
  1390.                 RCPT command failure reply of 550, 551, 552, 553,
  1391.                 450, 451, or 452 received;
  1392.                 RCPT command error reply of 500, 501, 503, or 421 received;
  1393.                 Command reply other than those listed above received;
  1394.                 RD does not correctly interpret CD commands, or
  1395.                 acknowledge CD commands, or format IUT responses;
  1396.                 Message id is wrong or nonexistent.
  1397.  
  1398.  
  1399. Scenario r_relaybad
  1400.  
  1401. Scenario r_relaybad tests the Receiver-SMTP IUT capability to
  1402. notify the sender of undeliverable messages if the service is
  1403. offered.
  1404.  
  1405. TEST 34:  UNDELIVERABLE MESSAGES
  1406.  
  1407. Does the IUT correctly notify the sender of undeliverable
  1408. messages?
  1409.  
  1410. ACTION:  The CD establishes a connection with the IUT.  The CD
  1411. issues the HELO and MAIL commands.  The RCPT command is issued
  1412. with a pathname containing a nonexistent username.  The
  1413. destination mailbox is a fictitious account.  The name used is
  1414. "no relay."
  1415.  
  1416. VERIFICATION:  The CD searches for the correct command error
  1417. reply and the correct mail message identification number.
  1418.  
  1419. SUCCESS:  The CD receives a command failure reply of 550 for the
  1420. RCPT command with the nonexistent username.
  1421.  
  1422. FAILURE:  Any of the following indicates an IUT failure:
  1423.                 Connection not made;
  1424.                 RCPT command success reply of 250 or 251 received;
  1425.                 RCPT command failure reply of 551, 552, 553, 450,
  1426.                 451, or 452 received;
  1427.                 RCPT command error reply of 500, 501, 503, or 421 received;
  1428.                 Command reply other than those listed above received;
  1429.                 RD does not correctly interpret CD commands, or
  1430.                 acknowledge CD commands, or format IUT responses;
  1431.                 Message id is wrong or nonexistent.
  1432. 12 March 1987                  -30-                Unisys Corporation
  1433.                                                     TM-WD-8801/610/01
  1434.  
  1435. Scenario r_revpath
  1436.  
  1437. Scenario r_revpath tests the Receiver-SMTP IUT capability to
  1438. prepend the reverse-path to an incoming message.
  1439.  
  1440.  
  1441. TEST 35:  REVERSE-PATH
  1442.  
  1443. Does the IUT prepend the reverse-path to incoming messages?
  1444.  
  1445. ACTION:  The CD establishes a connection with the IUT.  The CD
  1446. completes a mail transaction (HELO, MAIL, RCPT, DATA, and QUIT).
  1447. The CD then commands the IUT to spool the message.
  1448.  
  1449. VERIFICATION:  The CD searches for the correct command reply
  1450. codes and the correct reverse-path name in the mail message.
  1451.  
  1452. SUCCESS:  The CD receives successful command replies and the
  1453. correct reverse-path name ("FROM:<tsl@protolabb>") is prepended
  1454. to the message.
  1455.  
  1456. FAILURE:  Any of the following indicates an IUT failure:
  1457.                 Connection not made;
  1458.                 Command reply errors;
  1459.                 Reverse-path name wrong or nonexistent;
  1460.                 RD does not correctly interpret CD commands, or
  1461.                 acknowledge CD commands, or format IUT responses;
  1462.                 Message id is wrong or nonexistent.
  1463.  
  1464.  
  1465. Scenario r_nullrevpath
  1466.  
  1467. Scenario r_nullrevpath tests the Receiver-SMTP IUT capability to
  1468. prevent loops in error reporting.  Loops are prevented by
  1469. allowing a null reverse-path to be specified.  This scenario
  1470. verifies that the IUT accepts null reverse-paths.
  1471.  
  1472.  
  1473. TEST 36:  PREVENTION OF ERROR LOOPS (NULL REVERSE-PATH)
  1474.  
  1475. Does the IUT accept null reverse-paths?
  1476.  
  1477. ACTION:  The CD establishes a connection with the IUT.  The CD
  1478. issues the HELO command, then MAIL commands with null reverse
  1479. paths.  The mail transaction is completed as normal.  The CD then
  1480. commands the IUT to spool the mail message.
  1481.  
  1482. VERIFICATION:  The CD searches for the correct command reply
  1483. codes and the correct reverse-path name in the mail message.
  1484. 12 March 1987                  -31-                Unisys Corporation
  1485.                                                     TM-WD-8801/610/01
  1486.  
  1487. SUCCESS:  The CD receives successful command replies and the
  1488. correct null reverse-path name ("FROM:<>") is prepended to the
  1489. message.
  1490.  
  1491. FAILURE:  Any of the following indicates an IUT failure;
  1492.                 Connection not made;
  1493.                 Command reply errors;
  1494.                 Null reverse-path wrong or nonexistent;
  1495.                 RD does not correctly interpret CD commands, or
  1496.                 acknowledge CD commands, or format IUT responses;
  1497.                 Message id is wrong or nonexistent.
  1498.  
  1499.  
  1500. Scenario r_undeliver
  1501.  
  1502. Scenario r_undeliver tests the Receiver-SMTP capability to
  1503. process mail addressed to a nonexistent user.
  1504.  
  1505.  
  1506. TEST 37:  UNDELIVERABLE MAIL
  1507.  
  1508. Does the IUT correctly process mail addressed to a nonexistent
  1509. user?
  1510.  
  1511. ACTION:  The CD establishes a connection with the IUT.  The HELO
  1512. and MAIL commands are sent.  Then the CD issues the RCPT command
  1513. with a nonexistent user ("XXX NO SUCH dude" followed by a RCPT
  1514. command with a valid user name ("test").
  1515.  
  1516. VERIFICATION:  The CD searches for the correct command reply
  1517. codes and the correct message identification number in the mail
  1518. message.
  1519.  
  1520. SUCCESS:  The CD receives the correct error reply code of 550 to
  1521. the RCPT command with the nonexistent user and the correct
  1522. message identification number is received for the valid message.
  1523.  
  1524. FAILURE:  Any of the following indicates an IUT failure:
  1525.                 Connection not made;
  1526.                 Command replies other than those listed above received;
  1527.                 RD does not correctly interpret CD commands, or
  1528.                 acknowledge CD commands, or format IUT responses;
  1529.                 Message id is wrong or nonexistent.
  1530. 12 March 1987                  -32-                Unisys Corporation
  1531.                                                     TM-WD-8801/610/01
  1532.  
  1533. Scenario r_timestamp
  1534.  
  1535. Scenario r_timestamp tests the Receiver-SMTP capability to affix
  1536. a timestamp to the beginning of the mail message upon receipt.
  1537.  
  1538.  
  1539. TEST 38:  MESSAGE TIMESTAMP
  1540.  
  1541. Does the IUT affix a timestamp to the beginning of the mail
  1542. message.
  1543.  
  1544. ACTION:  The CD establishes a connection with the IUT.  The CD
  1545. completes a normal mail transaction.  The CD commands the RD to
  1546. spool the message.
  1547.  
  1548. VERIFICATION:  The CD searches for the correct command reply
  1549. codes and the correct reverse-path name in the mail message.
  1550.  
  1551. SUCCESS:  The CD receives successful command replies and the
  1552. correct timestamp is prepended to the message.
  1553.  
  1554. FAILURE:  Any of the following indicates an IUT failure:
  1555.                 Connection not made;
  1556.                 Command reply errors;
  1557.                 Timestamp wrong or nonexistent;
  1558.                 RD does not correctly interpret CD commands, or
  1559.                 acknowledge CD commands, or format IUT responses;
  1560.                 Message id is wrong or nonexistent.
  1561.  
  1562.  
  1563. Scenario s_replybad
  1564.  
  1565. Scenario s_replybad tests the Server-SMTP IUT capability to
  1566. correctly process an incorrect command reply from the peer
  1567. Receiver-SMTP.
  1568.  
  1569. TEST 39:  INCORRECT RECEIVER REPLIES
  1570.  
  1571. Does the IUT correctly process incorrect command replies from the
  1572. peer Receiver-SMTP?
  1573.  
  1574. ACTION:  The CD establishes a connection with the IUT.  The CD
  1575. commands the RD to place a mail message with a known message
  1576. identification number onto the IUT mail queue.  The CD commands
  1577. the Reference Receiver-SMTP to listen for a connection attempt
  1578. from the IUT.  The Sender SMTP IUT should find the message in the
  1579. queue and initiate a mail transaction with the Reference
  1580. Receiver-SMTP.  The Reference Receiver-SMTP replies correctly to
  1581. the connection opening and the HELO, MAIL, and RCPT commands, but
  1582. replies incorrectly to the DATA command.  The IUT should attempt
  1583. to reset the connection with the RSET command and then complete
  1584. the mail transaction.
  1585. 12 March 1987                  -33-                Unisys Corporation
  1586.                                                     TM-WD-8801/610/01
  1587.  
  1588. VERIFICATION:  The CD searches for the correct commands and the
  1589. correct message id number.
  1590.  
  1591. SUCCESS:  The CD receives the correct commands and the correct
  1592. message id number.
  1593.  
  1594. FAILURE:  Any of the following indicates an IUT failure:
  1595.                 Connection not made;
  1596.                 Incorrect commands received;
  1597.                 RD does not correctly interpret CD commands, or
  1598.                 acknowledge CD commands, or format IUT responses;
  1599.                 Message id is wrong or nonexistent.
  1600.  
  1601.  
  1602. Scenario r_transpar
  1603.  
  1604. Scenario r_transpar tests the Receiver-SMTP IUT capability to
  1605. correctly process the data transparency sequence.
  1606.  
  1607.  
  1608. TEST 40:  DATA TRANSPARENCY SEQUENCE
  1609.  
  1610. Does the IUT correctly process the data transparency sequence?
  1611.  
  1612. ACTION:  The CD establishes a connection with the IUT.  The CD
  1613. initiates a normal mail transaction.  The mail message data
  1614. contains an embedded end-of-data sequence followed by a known
  1615. identification number or string.
  1616.  
  1617. VERIFICATION:  The CD searches for the correct command reply
  1618. codes and the correct message identification string.
  1619.  
  1620. SUCCESS:  The CD receives the correct command reply codes and the
  1621. correct message identification number or string.
  1622.  
  1623. FAILURE:  Any of the following indicates an IUT failure:
  1624.                 Connection not made;
  1625.                 Incorrect reply codes received;
  1626.                 RD does not correctly interpret CD commands, or
  1627.                 acknowledge CD commands, or format IUT responses;
  1628.                 Message id is wrong or nonexistent.
  1629.  
  1630.  
  1631. Scenario r_longcmd
  1632.  
  1633. Scenario r_longcmd tests the Receiver-SMTP IUT capability to
  1634. correctly process a command line longer than the allowed 512
  1635. bytes.
  1636. 12 March 1987                  -34-                Unisys Corporation
  1637.                                                     TM-WD-8801/610/01
  1638.  
  1639. TEST 41:  EXCESSIVELY LONG COMMAND LINE
  1640. Does the IUT correctly process an excessively long command line?
  1641.  
  1642. ACTION:  The CD establishes a connection with the IUT.  The CD
  1643. initiates a normal mail transaction.  The CD sends a command line
  1644. exceeding 512 bytes in length.
  1645.  
  1646. VERIFICATION:  The CD searches for the correct command error
  1647. reply and the correct message id number.
  1648.  
  1649. SUCCESS:  The CD receives the correct command error reply of
  1650. either 500 or 501 and the correct message id number.
  1651.  
  1652. FAILURE:  Any of the following indicates an IUT failure:
  1653.                 Connection not made;
  1654.                 Successful command reply received;
  1655.                 RD does not correctly interpret CD commands, or
  1656.                 acknowledge CD commands, or format IUT responses;
  1657.                 Message id is wrong or nonexistent.
  1658.  
  1659.  
  1660. Scenario r_longtext
  1661.  
  1662. Scenario r_longtext tests the Receiver-SMTP IUT capability to
  1663. correctly process a text line exceeding the allowed 1000 bytes.
  1664.  
  1665.  
  1666. TEST 42:  EXCESSIVELY LONG TEXT LINE
  1667.  
  1668. Does the IUT correctly process text lines exceeding 1000 bytes in
  1669. length?
  1670.  
  1671. ACTION:  The CD establishes a connection with the IUT.  The CD
  1672. initiates a normal mail transaction.  The CD sends a text line
  1673. exceeding 1000 bytes in length.
  1674.  
  1675. VERIFICATION:  The CD searches for the correct command error
  1676. reply and the correct message id number.
  1677.  
  1678. SUCCESS:  The CD receives the correct command error reply of
  1679. either 500 or 501 and the correct message id number.
  1680.  
  1681. FAILURE:  Any of the following indicates an IUT failure:
  1682.                 Connection not made;
  1683.                 Successful command reply received;
  1684.                 RD does not correctly interpret CD commands, or
  1685.                 acknowledge CD commands, or format IUT responses;
  1686.                 Message id is wrong or nonexistent.
  1687. 12 March 1987                  -35-                Unisys Corporation
  1688.                                                     TM-WD-8801/610/01
  1689.  
  1690. Scenario s_longline
  1691.  
  1692. Scenario s_longline tests the Server-SMTP IUT capability to
  1693. correctly process an excessively long reply line.
  1694.  
  1695.  
  1696. TEST 43:  EXCESSIVELY LONG REPLY LINE
  1697.  
  1698. Does the IUT correctly process reply lines exceeding the allowed
  1699. 512 bytes?
  1700.  
  1701. ACTION:  The CD establishes a connection with the IUT.  The CD
  1702. command the RD to place a message with a known message
  1703. identification number onto the IUT mail queue.  The CD commands
  1704. the Reference Receiver-SMTP to listen for a connection attempt
  1705. from the IUT.  The Sender-SMTP IUT should find the message in the
  1706. queue and initiate a mail transaction with the Reference
  1707. Receiver-SMTP.  The Reference Receiver-SMTP replies correctly to
  1708. the connection opening and the HELO command, but replies
  1709. incorrectly to the MAIL command.  The IUT should attempt to reset
  1710. the connection with the RSET command and then complete the mail
  1711. transaction.
  1712.  
  1713. VERIFICATION:  The CD searches for the correct commands and the
  1714. correct message id number.
  1715.  
  1716. SUCCESS:  The CD receives the correct commands and the correct
  1717. message id number.
  1718.  
  1719.  
  1720. FAILURE:  Any of the following indicates an IUT failure:
  1721.                 Connection not made;
  1722.                 Incorrect commands received;
  1723.                 RD does not correctly interpret CD commands, or
  1724.                 acknowledge CD commands, or format IUT responses;
  1725.                 Message id is wrong or nonexistent.
  1726.  
  1727.  
  1728. Scenario r_ascii
  1729.  
  1730. Scenario r_ascii tests the Receiver-SMTP IUT capability to
  1731. correctly process all printable ASCII characters as mail data.
  1732.  
  1733.  
  1734. TEST 44:  ASCII DATA
  1735.  
  1736. Does the IUT correctly process all the printable ASCII characters
  1737. as mail data?
  1738.  
  1739. ACTION:  The CD establishes a connection with the IUT.  The CD
  1740. initiates a normal mail transaction.  The CD sends all the
  1741. printable ASCII characters as mail data along with a message
  1742. identification number.  The CD completes the transaction
  1743. normally.
  1744. 12 March 1987                  -36-                Unisys Corporation
  1745.                                                     TM-WD-8801/610/01
  1746.  
  1747.  
  1748. VERIFICATION:  The CD searches for the correct command replies,
  1749. the ASCII characters in the mail message, and the correct message
  1750. identification number.
  1751.  
  1752. SUCCESS:  The CD receives the correct command replies, the ASCII
  1753. characters, and the correct message identification number.
  1754.  
  1755. FAILURE:  Any of the following indicates an IUT failure:
  1756.                 Connection not made;
  1757.                 Command error replies received;
  1758.                 All ASCII characters not received correctly;
  1759.                 RD does not correctly interpret CD commands, or
  1760.                 acknowledge CD commands, or format IUT responses;
  1761.                 Message id is wrong or nonexistent.
  1762.                 
  1763.                 
  1764. Scenario s_ascii
  1765.  
  1766. Scenario s_ascii tests the Sender-SMTP IUT capability to send all
  1767. the printable ASCII characters as mail data.
  1768.  
  1769.  
  1770. TEST 45:  ASCII DATA
  1771.  
  1772. Does the IUT correctly process all the printable ASCII characters
  1773. as mail data?
  1774.  
  1775. ACTION:  The CD establishes a connection with the IUT.  The CD
  1776. commands the RD to place a mail message containing all the
  1777. printable ASCII characters and a known identification string onto
  1778. the IUT mail queue.  The IUT should mail the message to the
  1779. Reference Receiver-SMTP.
  1780.  
  1781. VERIFICATION:  The CD searches for the correct commands and the
  1782. correct mail data in the mail message.
  1783.  
  1784. SUCCESS:  The CD receives the correct commands and the correct
  1785. ASCII characters and identification string in the mail message.
  1786.  
  1787. FAILURE:  Any of the following indicates an IUT failure:
  1788.                 Connection not made;
  1789.                 Incorrect commands received;
  1790.                 All ASCII characters not received,:
  1791.                 RD does not correctly interpret CD commands, or
  1792.                 acknowledge CD commands, or format IUT responses;
  1793.                 Message id is wrong or nonexistent.
  1794. 12 March 1987                  -37-                Unisys Corporation
  1795.                                                     TM-WD-8801/610/01
  1796.  
  1797. Scenario r_multismtp
  1798.  
  1799. Scenario r_multismtp tests the Receiver-SMTP capability to
  1800. process two or more simultaneous SMTP transactions.  This
  1801. scenario requires multiple Lab Drivers.
  1802.  
  1803. TEST 46:  MULTIPLE SMTP
  1804.  
  1805. Does the IUT correctly process multiple, simultaneous SMTP
  1806. transactions?
  1807.  
  1808. ACTION:  The CD establishes multiple connections with the IUT.
  1809. The CD executes a normal mail transaction for each connection:
  1810.  
  1811. VERIFICATION:  The CD searches for the correct command replies
  1812. and correct message identification numbers for each connection:
  1813.  
  1814. SUCCESS:  The CD receives the correct command replies and correct
  1815. message id numbers for each connection:
  1816.  
  1817. FAILURE:  Any of the following indicates an IUT failure:
  1818.                 Any of the connections not made;
  1819.                 RD does not correctly interpret CD commands, or
  1820.                 acknowledge CD commands, or format IUT responses;
  1821.                 Any message id is wrong or nonexistent.
  1822.